package com.fishing.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

@Controller
public class ViewManager extends WebMvcConfigurationSupport {

    @Override
    protected void addViewControllers(ViewControllerRegistry registry) {
        registry.addViewController("room/editLog").setViewName("room/roomEditLog");
        registry.addViewController("room/queryRoom").setViewName("room/queryRoom");
        registry.addViewController("chart").setViewName("chart");
    }
}
